package com.hns.can.upgrade.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
* @ClassName: UpgPhoneParam 
* @Description: 手机升级参数
* @author zhangl
* @email victor_007@126.com
* @date 2016年11月15日 上午11:13:57
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_UPG_PHONE_PARAM")
public class UpgPhoneParam implements java.io.Serializable {

	// Fields

	private String id;
	private String name;
	private String type;
	private String logo;
	private String logo2;
	private String filePath;
	private String packageName;

	// Constructors

	/** default constructor */
	public UpgPhoneParam() {
	}

	/** minimal constructor */
	public UpgPhoneParam(String id, String name, String type) {
		this.id = id;
		this.name = name;
		this.type = type;
	}

	/** full constructor */
	public UpgPhoneParam(String id, String name, String type, String logo,
			String logo2, String filePath, String packageName) {
		this.id = id;
		this.name = name;
		this.type = type;
		this.logo = logo;
		this.logo2 = logo2;
		this.filePath = filePath;
		this.packageName = packageName;
	}

	// Property accessors
	@Id
	@Column(name = "ID", unique = true, nullable = false, length = 32)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "NAME", nullable = false, length = 100)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "TYPE", nullable = false, length = 20)
	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Column(name = "LOGO", length = 200)
	public String getLogo() {
		return this.logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	@Column(name = "LOGO2", length = 200)
	public String getLogo2() {
		return this.logo2;
	}

	public void setLogo2(String logo2) {
		this.logo2 = logo2;
	}

	@Column(name = "FILE_PATH", length = 20)
	public String getFilePath() {
		return this.filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	@Column(name = "PACKAGE_NAME", length = 50)
	public String getPackageName() {
		return this.packageName;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}

}